﻿using System;
using System.Collections.Generic;
using System.Text;
using NewThinkings.DataLayer.DataObjects.Core;
using NewThinkings.BusinessLayer.BusinessObject;
using NewThinkings.BusinessLayer.BusinessObject.Core;

namespace NewThinkings.BusinessLayer.Facade.Core
{
   public class CCoreFacade
    {
       private readonly CApplicationDao applicationDAO = new CApplicationDao();
       private readonly CModuleDao moduleDAO = new CModuleDao();
       private readonly CInterfaceFunctionDao interfaceFunctionDAO = new CInterfaceFunctionDao();
       public IList<CApplication> GetApplicationByUserID(string InputValue)
       {
           return applicationDAO.GetApplicationByUserID(InputValue);
       }
       public IList<CModule> GetModuleByUserID(string pInputValue) {
           return moduleDAO.GetModuleByUser(pInputValue);
       }
       public IList<CInterfaceFunction> GetInterfaceFunctionByUserID(string pInputValue)
       {
           return interfaceFunctionDAO.GetInterfaceFunction(pInputValue);
       }
    }
}
